import request from '@/utils/request'

// 查询111列表
export function listComment(query) {
    return request({
        url: '/system/comment/list',
        method: 'get',
        params: query
    })
}

// 查询111详细
export function getComment(id) {
    return request({
        url: '/system/comment/' + id,
        method: 'get'
    })
}

// 新增111
export function addComment(data) {
    return request({
        url: '/system/comment',
        method: 'post',
        data: data
    })
}

// 修改111
export function updateComment(data) {
    return request({
        url: '/system/comment',
        method: 'put',
        data: data
    })
}

// 删除111
export function delComment(id) {
    return request({
        url: '/system/comment/' + id,
        method: 'delete'
    })
}
